package org.jeecg.modules.room.vo;

import java.util.List;
import org.jeecg.modules.room.entity.RoomBookInfo;
import org.jeecg.modules.room.entity.RoomBookInfoMx;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 预定单主信息
 * @Author: jeecg-boot
 * @Date:   2023-12-19
 * @Version: V1.0
 */
@Data
@ApiModel(value="room_book_infoPage对象", description="预定单主信息")
public class RoomBookInfoVo {

	/**id*/
	@ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**预订单号*/
	@Excel(name = "预订单号", width = 15)
	@ApiModelProperty(value = "预订单号")
    private String bookCode;
	/**预定类型(散客/团体)*/
	@Excel(name = "预定类型(散客/团体)", width = 15)
	@ApiModelProperty(value = "预定类型(散客/团体)")
    private String bookType;
	/**账户类型（vip）*/
	@Excel(name = "账户类型（vip）", width = 15)
	@ApiModelProperty(value = "账户类型（vip）")
    private String accountType;
	/**预定人*/
	@Excel(name = "预定人", width = 15)
	@ApiModelProperty(value = "预定人")
    private String bookPerson;
	/**预定时间*/
	@ApiModelProperty(value = "预定时间")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date bookDate;
	/**预抵店时间*/
	@ApiModelProperty(value = "预抵店时间")
	private String dateArrival;
	/**预离店时间*/
	@ApiModelProperty(value = "预离店时间")
	private String dateDeparture;
	/**房晚数*/
	@Excel(name = "房晚数", width = 15)
	@ApiModelProperty(value = "房晚数")
	private Integer dateNum;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
    private String photo;
	/**客户单位*/
	@Excel(name = "客户单位", width = 15)
	@ApiModelProperty(value = "客户单位")
    private String company;
	/**优惠理由*/
	@Excel(name = "优惠理由", width = 15)
	@ApiModelProperty(value = "优惠理由")
    private String discountReason;
	/**预订状态*/
	@Excel(name = "预订状态", width = 15)
	@ApiModelProperty(value = "预订状态")
    private String bookStatus;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;

	@ExcelCollection(name="预订单明细信息")
	@ApiModelProperty(value = "预订单明细信息")
	private List<RoomBookInfoMx> roomBookInfoMxList;

}
